<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>blog admin</title>
  <link rel="stylesheet" href="{{ url_for('static',filename='layui/css/layui.css') }}">
</head>
<body>
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo"><img src="{{ url_for('static',filename='images/img_1.png') }}" style="width: 50px"/>  My Blog</div>
    <!-- 头部区域（可配合layui 已有的水平导航） -->
{#    <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item"><a href="">nav 1</a></li>
      <li class="layui-nav-item"><a href="">nav 2</a></li>
      <li class="layui-nav-item"><a href="">nav 3</a></li>
      <li class="layui-nav-item">
        <a href="javascript:;">nav groups</a>
        <dl class="layui-nav-child">
          <dd><a href="">menu 11</a></dd>
          <dd><a href="">menu 22</a></dd>
          <dd><a href="">menu 33</a></dd>
        </dl>
      </li>
    </ul>#}
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          <img src="//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg" class="layui-nav-img">
          tester
        </a>
        <dl class="layui-nav-child">
          <dd><a href="">set 1</a></dd>
          <dd><a href="">set 2</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="">Sign out</a></li>
    </ul>
  </div>

  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item layui-nav-itemed">
          <a class="" href="javascript:;"><span class="layui-icon layui-icon-template-1"></span> 文章管理</a>
          <dl class="layui-nav-child">
            <dd ><a href="/articleList" target="mainFrame"><span class="layui-icon layui-icon-read "></span> 文章列表</a></dd>
            <dd><a href="/analysis" target="mainFrame"><span class="layui-icon layui-icon-list"></span> 统计分析</a></dd>
          </dl>
        </li>

          <li class="layui-nav-item">
              <a class="" href="javascript:;"><span class="layui-icon layui-icon-template-1"></span> 用户管理</a>
              <dl class="layui-nav-child">
                  <dd ><a href="/articleList" target="mainFrame"><span class="layui-icon layui-icon-read "></span> 登陆分析</a></dd>
                  <dd><a href="/analysis" target="mainFrame"><span class="layui-icon layui-icon-list"></span> 统计分析</a></dd>
              </dl>
          </li>

        <li class="layui-nav-item">
          <a href="javascript:;">用户管理</a>
         <dl class="layui-nav-child">
            <dd><a href="javascript:;">登录分析</a></dd>
            <dd><a href="javascript:;">统计分析</a></dd>
            <dd><a href="javascript:;">超链接</a></dd>
          </dl>
        </li>

        <li class="layui-nav-item"><a href="javascript:;">menu item 123</a></li>#}
<!--       <li class="layui-nav-item"><a href="">the links</a></li>#}-->
      </ul>
    </div>
  </div>

  <div class="layui-body">
    <!-- 内容主体区域 -->
    <div style="padding: 15px;">
{#        innerframe#}
        <iframe name="mainFrame" src="/welcome"  width="100%" height="600px" frameborder="0">

        </iframe>
    </div>
  </div>

  <div class="layui-footer">
    <!-- 底部固定区域 -->
    &copy;2021-2022 Copy Right
  </div>
</div>

<script src="{{ url_for('static',filename='layui/layui.js') }}"></script>
<script>
//JavaScript代码区域
layui.use('element', function(){
  var element = layui.element;

});
</script>
</body>
</html>